Variables
ALERT (Alert)
With "select" the light performs one breath cycle and with "lselect" breathe cycles for 30 seconds. Breathe cycle means (citet from http://developers.meethue.com): "The light or lights do one smooth transition from the current state to a higher brightness in the current color to a lower brightness in the current color and back to the original state."
Type: | Enumeration |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Default Value: | 0 |
---|
Values: | |
---|
BRIGHTNESS (Brightness)
Sets the brightness. Don't use this variable for sliders.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 254 |
---|
COLORMODE (Color mode)
The colormode which is currently used: hs (hue/saturation/brightness), xy (xyY) or ct (color temperature).
Type: | Enumeration |
---|
Readable: | Yes |
---|
Writeable: | No |
---|
Values: | |
---|
COLOR_TEMPERATURE (Color temperature)
See developers.meethue.com for more information.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 153 |
---|
Maximum Value: | 500 |
---|
EFFECT (Effect)
"colorloop" lets the light cycle through all hues using the current brightness and saturation settings.
Type: | Enumeration |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Default Value: | 0 |
---|
Values: | |
---|
FAST_BRIGHTNESS (Fast brightness)
Like "Brightness" but without resends and without waiting for a response. Use this variable for sliders.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 254 |
---|
FAST_RGB
Type: | String |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
FAST_SATURATION
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 255 |
---|
FAST_STATE (Fast state)
Like "State" but without resends and without waiting for a response.
Type: | Boolean |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
HUE (Hue)
Sets the hue. Some examples: Red => 0, yellow => 18000, green => 25500, cyan => 36207, blue => 46920, pink => 56100.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 65535 |
---|
PEER_ID (Peer ID)
The ID of the peer. This variable is only needed for compatability reasons.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
REACHABLE (Reachable)
"true" when the device is currently reachable.
Type: | Boolean |
---|
Readable: | Yes |
---|
Writeable: | No |
---|
RGB (RGB)
You can set a color in the format #RRGGBB here with RR (red), GG (green) and BB (blue) being a hexadecimal number between 00 and FF. The conversion sets hue, saturation and brightness (HSV). I tried setting "XY", but the RGB to xyY conversion works really bad. The conversion from RGB to HSV is still not perfect, but it works ok.
Type: | String |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
SATURATION (Saturation)
The saturation of the current color.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 255 |
---|
STATE (State)
Switches the light on using the last settings or off.
Type: | Boolean |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
TRANSITION_TIME (Transition time)
Sets the time in 100ms units the next operation transitions.
Type: | Integer |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|
Minimum Value: | 0 |
---|
Maximum Value: | 65535 |
---|
Default Value: | 5 |
---|
XY (xyY)
The xyY value in the CIE 1931 xy chromaticity diagram. The format is x and y seperated by semicolon: E. g. for red: "0.675;0.322". The xy value is really bad to calculate, because the RGB color space provided by Philips doesn't seem to be right.
Type: | String |
---|
Readable: | Yes |
---|
Writeable: | Yes |
---|